﻿using GalaSoft.MvvmLight;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jn698._45GWTool.Models.DataGrid
{
    public class PlanSetModel:ObservableObject
    {
        private bool? isSelect;
        [SugarColumn(IsIgnore = true)]
        public bool? IsSelect
        {
            get
            {
                if (isSelect == null)
                {
                    isSelect = false;
                }
                return isSelect;
            }
            set
            {
                isSelect = value; RaisePropertyChanged();
            }
        }

        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; RaisePropertyChanged(); }
        }

        private string ic;

        public string IC
        {
            get { return ic; }
            set { ic = value; RaisePropertyChanged(); }
        }

        private string oad;

        public string OAD
        {
            get { return oad; }
            set { oad = value; RaisePropertyChanged(); }
        }

        private string setR;

        public string SetR
        {
            get { return setR; }
            set { setR = value; RaisePropertyChanged(); }
        }

        private string readR;

        public string ReadR
        {
            get { return readR; }
            set { readR = value; RaisePropertyChanged(); }
        }

    }
}
